import useAppStore from '@/store/app'
import { defineComponent } from 'vue'

export default defineComponent({
  name: 'Test',
  setup() {
    /* render 函数 */
    return () => {
      const { token, tokenWithPrefix } = useAppStore
      return (
        <div>
          <h2>组件二</h2>
          <div>{token}</div>
          <div>{tokenWithPrefix}</div>
        </div>
      )
    }
  }
})
